package com.sky.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorsMapper {
    /**
     * 批量插入口味数据
     * @param flavors
     */
    void insertBatch(List flavors);
    @Delete("delete from dish_flavor where dish_id = #{dishId}")
    void deletById(Long dishId);
}
